package com.dh.blog.sitemap;

import java.util.Date;

import com.dh.blog.sitemap.annotation.Mapped;

public class SitemapURL {
	/**
	 * 地址location
	 */
	@Mapped
	private String loc;
	@Mapped
	private Date lastmod;
	/**
	 * 更新频率always,weekly...,默认weekly
	 */
	@Mapped
	private String changefreq = "weekly";
	/**
	 * 相对于其他页面的优先权,这里使用的策略就是层级约高优先级越低
	 */
	@Mapped
	private String priority;
	public String getLoc() {
		return loc;
	}
	public void setLoc(String loc) {
		this.loc = loc;
	}
	public Date getLastmod() {
		return lastmod;
	}
	public void setLastmod(Date lastmod) {
		this.lastmod = lastmod;
	}
	public String getChangefreq() {
		return changefreq;
	}
	public void setChangefreq(String changefreq) {
		this.changefreq = changefreq;
	}
	public String getPriority() {
		return priority;
	}
	public void setPriority(String priority) {
		this.priority = priority;
	} 
	
}
